Command Line Usage |
![]() ![]() |
This topic shows examples of how you can use Synchronize It! in a command line.
wndsync.exe folder1 folder2 [files mask] [options]
wndsync.exe SessionName [options]
Where:
/P=ProjectName | Useful if you have sessions and projects with same names. |
/sync | select action: Synchronize |
/back | select action: Backup |
/update | select action: Update |
/copy | select action: Duplicate |
/auto | Automatic unattended run, no interface 1 |
/show | When used with /auto displays main window to show progress |
/show2 | Same as /show, but do not close app if there were errors during process. |
/scan | Start file scanning immediately |
/O | search orphan files only |
/M | search matched files only |
/R | include subfolders |
/RM | include matched subfolders only |
/X | exclude files by list, ex. /X"*.html *.css" |
/XD | exclude subfolders by list, ex. /XD"backup; My Pictures" |
/date | comparison mode: By date + size |
/smart | comparison mode: By date + content |
/cnt | comparison mode: By content |
/size | comparison mode: By size only |
/nolog | Disables logging for current session |
/log | Enables logging for current session 2 |
/log0 | Enables logging and force logging even if no files were copied 2 |
/date: | Advanced filters: date range |
/- | Advanced filters: not older then |
/A | Use archive bit |
/H | Ignore hidden and system files |
Note 1: To prevent errors /auto switch will only work if you specify in command line either Session\Project name or source and target folders.
Note 2: Both /log and /log0 switches can be followed by alternative log file name with full path:
/log c:\newlog.html
To filter files by date you can use one of these rules:
Not older then (/-) | Date range (/date:) |
|
/date:dd.mm.yyyy[-dd.mm.yyyy]
If second date is omitted, only files modified after specified date are searched.
|
© 1996-2006, Grig Software, All Rights Reserved |
![]() ![]() |